package com.vn.ld.common.domain;

import java.io.Serializable;

/**
 * PaggingItemInfo
 * 
 * @author Shark{loi.do.duy}
 */
public class PageItemInfo implements Serializable, Cloneable {

	private static final long serialVersionUID = 2829594997732799057L;

	private int index;
	private String text;
	private boolean selected = false;

	public PageItemInfo(int index, String text, boolean selected) {
		this.index = index;
		this.text = text;
		this.selected = selected;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isSelected() {
		return selected;
	}

	public void setSelected(boolean selected) {
		this.selected = selected;
	}

	public String toString() {
		return "PagingInfoItem-[index:" + index + ", text:" + text + ", selected:" + selected + "]";
	}
}
